package com.zdp.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author sesshomaru
 * @date 2021/7/26
 */
@Slf4j
@Service
public class TestService {

    @SentinelResource(value = "common")
    public String common(){
        log.info("common..........");
        return "common";
    }
}
